
use CaseCentre;
GO

if object_id('CW.FormConfiguration') is not null
begin
	DROP TABLE [CW].[FormConfiguration];
end;

if object_id('CW.FormDesign') is not null
begin
	DROP TABLE [CW].[FormDesign];
end;

if object_id('CW.DataValueSource') is not null
begin
	DROP TABLE [CW].[DataValueSource];
end;

if object_id('CW.Controls') is not null
begin
	DROP TABLE [CW].[Controls];
end;

if object_id('CW.DataSource') is not null
begin
	DROP TABLE [CW].[DataSource];
end;

---------------------------------------------------------------

if object_id('CW.ComplainCustomFormAnswer') is not null
begin
	DROP TABLE [CW].[ComplainCustomFormAnswer];
end;

if object_id('CW.EnquiryCustomFormAnswer') is not null
begin
	DROP TABLE [CW].[EnquiryCustomFormAnswer];
end;

if object_id('CW.Form') is not null
begin
	DROP TABLE [CW].[Form];
end;

if object_id('CW.[Complain]') is not null
begin
	DROP TABLE [CW].[Complain];
end;

if object_id('CW.[Enquiry]') is not null
begin
	DROP TABLE [CW].[Enquiry];
end;

if object_id('CW.[Pool]') is not null
begin
	DROP TABLE [CW].[Pool];
end;

if object_id('CW.[ComplaintType]') is not null
begin
	DROP TABLE [CW].[ComplaintType];
end;

if object_id('CW.[Consumer]') is not null
begin
	DROP TABLE [CW].[Consumer];
end;


if object_id('CW.[Team]') is not null
begin
	DROP TABLE [CW].[Team];
end;

if object_id('CW.[Settlement]') is not null
begin
	DROP TABLE [CW].[Settlement];
end;

if object_id('CW.[UserProfile]') is not null
begin
	DROP TABLE [CW].[UserProfile];
end;

if object_id('CW.[JuridictionReason]') is not null
begin
	DROP TABLE [CW].[JuridictionReason];
end;

if object_id('CW.[Product]') is not null
begin
	DROP TABLE [CW].[Product];
end;

if object_id('CW.[Resolution]') is not null
begin
	DROP TABLE [CW].[Resolution];
end;

if object_id('CW.[Business]') is not null
begin
	DROP TABLE [CW].[Business];
end;

if object_id('CW.[OfferRange]') is not null
begin
	DROP TABLE [CW].[OfferRange];
end;

if object_id('CW.[BusinessOffer]') is not null
begin
	DROP TABLE [CW].[BusinessOffer];
end;

if object_id('CW.[Address]') is not null
begin
	DROP TABLE [CW].[Address];
end;

if object_id('CW.[Country]') is not null
begin
	DROP TABLE [CW].[Country];
end;
